<?php

namespace Frontend\Modules\Home\Controllers;

class IndexController extends \FrontendController
{
	public function indexAction()
	{
		try
		{
			$this->assets
            ->addCss('vendor/frontend/css/home/home.css')
            ->addJs('vendor/frontend/js/home/movies_angular.js') 
            ->addJs('vendor/frontend/js/home/movies.js');
            
            //$result=$this->db->query("SELECT * FROM phalcon.users")->fetchAll();
            //print_r($result);
           
		}
		catch(\Exception $e)
		{
			$this->flash->error($e->getMessage());
		}
	}
}